home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 1254 / readme.txt < prev    next >
Text File  |  1997-04-18  |  6KB  |  130 lines

  1.  
  2.  
  3.  
  4.                             YearIn 1.1 Quick Guide
  5.                    DEMO: Two-Digit Year Input or Difference
  6.                 Copyright (c) 1995-1996 by David M. Wincelberg
  7.  
  8.  
  9.                                    Overview
  10.  
  11.        This program demonstrates a routine that properly handles two-
  12.        digit year inputs and differences for the current and next
  13.        century.  For example, 98 converts to 1998 and 3 becomes 2003.
  14.        The pair of partial years (90, 95) converts to (1890, 1995) for a
  15.        difference of 105 years.  In addition, this routine is
  16.        incorporated into an edit box or data-entry field that expands a
  17.        two-digit year into a four-digit year when you move away from it.
  18.        Thus, YearIn's year-resolution routine virtually eliminates the
  19.        need to enter four-digit years and allows databases that use two-
  20.        digit years to continue to be usable in the 21st century.
  21.  
  22.             To use YearIn in Windows 3.1 or 95, start YEARIN.EXE, click
  23.        on the Input menu, and select either A Year, Year Difference,
  24.        Examples, or Dynamic Edit Box.  For the first option, enter a
  25.        one-, two-, or three-digit year and click on the OK button or
  26.        press Enter to close the dialog box.  The input and the result
  27.        will appear in a scrolling list in YearIn's main window.  In
  28.        addition, you may set the active year in this dialog box to some
  29.        year other than the current one.  For example, try entering 98
  30.        for active years 1996 and 2000.  You will get the same four-digit
  31.        year.
  32.  
  33.             The year-difference option will produce a dialog box that
  34.        accepts a pair of two-digit years and allows setting the active
  35.        year and the minimum difference between years.  Try entering 90
  36.        and 95 to get a difference of 105 years.  The inputs and outputs
  37.        for this calculation will also appear in the main window.  The
  38.        primary benefit of the year-difference logic is that databases
  39.        that use two-digit years to store birth and current (or death)
  40.        years do NOT need to be modified.  Following is the sample output
  41.        from this program that is generated by selecting the Examples
  42.        option.
  43.  
  44.  
  45.        Input(s)     Full Year(s)     Difference     Active Year  MinDiff
  46.        --------     ------------     ----------     -----------  -------
  47.           98            1998                           1996
  48.            3            2003                           1996
  49.           98            1998                           2000
  50.            3            2003                           2000
  51.          3, 98       1903, 1998          95            1996        25
  52.         90, 95       1890, 1995         105            1996        25
  53.          3, 98       1903, 1998          95            2000        25
  54.         90, 95       1890, 1995         105            2000        25
  55.           75            1975                           1996
  56.           75            2075                           2060
  57.  
  58.  
  59.  
  60.  
  61.             Selecting the Dynamic Edit Box option will present an edit
  62.        box (or data-entry field) that converts a partial year input into
  63.        a four-digit year when you move away from it by clicking on
  64.        another entry field, selecting a button, or using a keyboard
  65.        command.  This edit box is designed to relieve data-entry
  66.        personnel from repeatedly having to type all four digits of an
  67.        input year.
  68.  
  69.             YearIn is a freely-distributable $10 to $5000 shareware
  70.        program by FileJockey Software, which can be reached by e-mail
  71.        (71573.1023 @compuserve.com) or postal mail (289 S. Robertson
  72.        Blvd., Suite 373, Beverly Hills, CA 90211).  Registered users
  73.        will receive the C/C++/Fortran/COBOL source code for this routine
  74.        and the C++ source code for this edit box.  FileJockey Software
  75.        is also maintaining a list of year-2000 articles in YR2000.TXT in
  76.        CompuServe's OAFORUM and PCPROG forums.
  77.  
  78.  
  79.  
  80.                               Files in YearIn.ZIP
  81.  
  82.  
  83.        README.TXT          This file.
  84.  
  85.        WHATSNEW.TXT        Describes changes since version 1.0.
  86.  
  87.        YEARIN.EXE          Windows 3.1 program to demonstrate the year-
  88.                            conversion routine.
  89.  
  90.        YEARIN.HLP          Full documentation file in Windows 3.1 help
  91.                            format.  This file can be run from the
  92.                            Windows 3.1 Program Manager and the Windows
  93.                            95 Explorer.
  94.  
  95.        YEARIN.REG          The license-and-registration payment form.
  96.  
  97.        FILE_ID.DIZ         Description of YearIn to be used on-line or
  98.                            in catalogs.
  99.  
  100.        VENDINFO.DIZ        Contains vendor-distribution information in a
  101.                            computer-readable format.  It also has YearIn
  102.                            installation instructions, much of
  103.                            README.TXT, and a copy of the license
  104.                            agreement.  The first part of VENDINFO.DIZ is
  105.                            human readable, while the second part
  106.                            requires a program such as the free VENDVIEW.
  107.                            On CompuServe, GO ZENITH for this viewer as
  108.                            file VNDVUE.ZIP in Library 6.
  109.  
  110.  
  111.  
  112.        To print this file from DOS, enter:
  113.  
  114.                              COPY README.TXT > PRN
  115.  
  116.  
  117.  
  118.  
  119.        This file is formatted for printing on any printer.  (Ignore the
  120.        characters at the left margin -- they tell the printer to advance
  121.        to the next page.)  To see this file on the screen, use an editor
  122.        or enter:
  123.  
  124.                             TYPE README.TXT | MORE
  125.  
  126.  
  127.        All (registered) trademarks and (registered) service marks are
  128.        properties of their respective companies.
  129.  
  130.